<template>
  <div class="main">
    <div>
      <MyMap :agency-name="$route.params.name" :center="$route.params.name" />
    </div>
  </div>

</template>

<script>
import MyMap from '@/components/my-map'

export default {
  components: { MyMap },
  created() {
    console.log(this.$route.params.name)
  }
}
</script>

<style lang="scss" scoped>
.main{
.header{
  margin: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.body{
  .search{
padding: 20px 0;
  }
  padding:0 30px;
  background-color: #fff;
}
}
</style>

